Release 10.1A: OpenEdge Development:
Web Services
SubAppObject IDs
You use the same type of class factory method to create SubAppObjects for both session-managed and session-free Web Services. For a SubAppObject whose defining parent is a session-managed AppObject, you must send the AppObject ID of the parent in the SOAP request message header. However, for a SubAppObject whose defining parent is a session-free AppObject, you do not have an AppObject ID to send in the SOAP request header when you invoke the class factory method to create the SubAppObject.
For every SubAppObject, regardless of the session model, the SOAP response header for the class factory method returns a SubAppObject ID that uniquely associates the SubAppObject session with the client. You must send this SubAppObject ID in the SOAP request header for all other method calls on the SubAppObject. You must also ensure that the last method you call on the SubAppObject is the object’s release method. For more information, see the "Releasing an object" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |